﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FanPages.Common
{
    public interface ITransformer<Entity, Dto>
    {
        Dto ToDto(Entity entity);
        Entity ToClient(Dto dto);        
        List<Dto> ToListDto(List<Entity> list);
        List<Entity> ToListEntity(List<Dto> list);
    }
}
